add_library(llama SHARED
    ${CMAKE_CURRENT_SOURCE_DIR}/unicode-data.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/unicode.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/unicode-data.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/unicode.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-model.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-quant.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-vocab.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-kv-cache.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-adapter.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-arch.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-context.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-cparams.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-grammar.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-hparams.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-impl.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-mmap.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-model-loader.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-sampling.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/llama-batch.cpp
)